<template>
  <form-item
    v-bind="$attrs"
    v-on="$listeners"
    :style="{ marginBottom: margin + 'px' }"
  >
    <slot />
    <template slot="label">
      <slot name="label" />
    </template>
  </form-item>
</template>

<script>
import { FormItem } from "element-ui"

export default {
  name: "MFormItem",
  components: { FormItem },
  props: {
    margin: String
  }
};
</script>

<style lang="scss" scoped></style>
